package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author dc
 * @Classname User
 * @Date 2020/2/24 15:20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("tb_user")
public class User extends BasePojo{
    private static final long serialVersionUID = -70167854961369586L;
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户名*/
    private String username;
    /**用户密码 MD5加密*/
    private String password;
    /**电话号码*/
    private String phone;
    /**邮箱*/
    private String email;
}
